package cComponents

import "reflect"

type ConfigInterface interface {
	ConfigName() string
}

func IsConf(instance any) bool {
	return reflect.TypeOf(instance).Implements(reflect.TypeOf((*ConfigInterface)(nil)).Elem())
}
